package ink.metoo.auto.fishpi.call

object NotificationsCall {

    class MakeArticleReadBody : AbstractBaseBody() {
        var articleId: String = ""
        var commentIds: String = ""
    }

    fun makeArticleRead(articleId: String, commentIds: String) =
        Requests.sendJsonRequest<BaseResult>("/notifications/make-read", body = MakeArticleReadBody().fillFormCache {
            it.articleId = articleId
            it.commentIds = commentIds
        })

}